<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp"%>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<meta charset="UTF-8">
		<title>以人民的名义加薪_加薪宝_共富网_Gofull.com.cn</title>
		<script src="/v3/js/jquery-1.10.2.min.js" type="text/javascript"></script>
		<link type="text/css" rel="stylesheet" href="/v3/css/event.css">
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?fe234a7328fe990456480a1f80e033a2";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
	</head>
<style>
body{margin:0;height:100%;font-size:1.5rem;font-family:"微软雅黑"}
</style>
	<body>
		<div id="jxbWrap">
			<div class="jxb_banner"><img src="/v3/images/event/jiaxinbao/jxb_banner.png" /></div>
			<div class="jxb_line_bg"><img src="/v3/images/event/jiaxinbao/line_bg.png"/></div>
			<div class="jxb_info">
				<div class="jxb_info_box">
					<h2>20天加薪宝</h2>
					<p class="font-gray">预期年化收益</p>
					<p class="jxb_rate"><img src="/v3/images/event/jiaxinbao/num_icon.png" alt="7%"/></p>
					<p><span>50元</span>起投，20天后自动还本付息</p>
					<div class="jxb_btn">
						<s:if test="#request.jxbList.size>0">
							<s:iterator value="#request.jxbList" var="finance">
								<s:if test="#finance.borrowStatus == 2">
									<a href="loanWybDetailInvest.do" class="jxbBtn">立即加薪</a>
								</s:if>
								<s:if test="#finance.borrowStatus == 3">
										<a href="javascript:void(0)" class="overBtn"></a>
								</s:if>
							</s:iterator>
						</s:if>
						<s:else>
							<a href="javascript:void(0)" class="waitBtn">即将开售</a>
						</s:else>
					</div>
				</div>
			</div>
			
			<div class="jxb_how">
				<div class="jxb_how_p1">
					<h3><img src="/v3/images/event/jiaxinbao/how_title.png"/></h3>
				<p>活动期间<span>每日上午10点</span>开抢，当天额度有限，先到先得！</p>
				</div>
				
				<div class="jxb_how_p2">
					<img class="bgImg" src ="/v3/images/event/jiaxinbao/jxb_how_p2.png"/>
					<p>点击本页面<span>“立即加薪”</span>按钮，进入加薪宝申购页，充值购买。</p>
				</div>
				
				<div class="jxb_how_p3">
					<img class="bgImg" src ="/v3/images/event/jiaxinbao/jxb_how_p3.png"/>
					<p>点击共富网微信服务号下方菜单栏<span>“20天加薪宝”</span>，进入活动页面，点击<span>“立即加薪”</span>即可购买。</p>
				</div>
				<div class="jxb_how_p4">
					<div class="bgImg">
						<img src ="/v3/images/event/jiaxinbao/jxb_how_p4.png"/>
					</div>
					<p>登录共富网网站，点击活动广告进入活动页，选择20天加薪宝产品购买，或在<span>“稳赢宝”</span>产品专区内选择加薪宝，点击申购按钮进行购买。</p>
				</div>
				
				<div class="jxb_how_p5">
					<s:if test="#request.jxbList.size>0">
						<s:iterator value="#request.jxbList" var="finance">
							<s:if test="#finance.borrowStatus == 2">
								<a href="loanWybDetailInvest.do" class="jxbBtn">立即抢购</a>
							</s:if>
							<s:if test="#finance.borrowStatus == 3">
									<a href="javascript:void(0)" class="overBtn"></a>
							</s:if>
						</s:iterator>
					</s:if>
					<s:else>
						<a href="javascript:void(0)" class="waitBtn">即将开售</a>
					</s:else>
					<a href="javascript:void(0)" class="jxbBtn share">分享给好友</a>
				</div>
			</div>
			
			<div class="jxbDec">
				<p>理财有风险，投资需谨慎<br>
	本活动最终解释权归共富网所有，如有疑问请拨打客服电话<br>4008-893-983</p>
			</div>
			
			<div class="shareBG"></div> 
			<div class="jxbShare">
				<img src="/v3/images/event/jiaxinbao/guide.png" />
			</div>
		</div>
		
	</body>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>

<script>
	var _imgsrc = "http://m.gofull.com.cn/v3/images/event/jiaxinbao/jxbShare.jpg";
	var _title = "不给你加薪的老板都是耍流氓";
	var _desc = "打铁还需自身硬，不能辜负党和人民";
	var _url ="t.cn/RXfSsO5";
	
	$(".share").click(function() {
		$(".shareBG").show();
		$(".jxbShare").show();
	});

	$(".shareBG").click(function() {
		$(".shareBG").hide();
		$(".jxbShare").hide();
	});
	wx.config({
	      debug: false,
	      appId: '${wxConfigMap.appId}',
	      timestamp: ${wxConfigMap.timestamp},
	      nonceStr: '${wxConfigMap.nonceStr}',
	      signature: '${wxConfigMap.signature}',
	      jsApiList: [
	        'onMenuShareTimeline',
	        'onMenuShareAppMessage',
	        'onMenuShareQQ',
	        'onMenuShareQZone'
	      ]
	  });
	wx.ready(function(){
			 wx.onMenuShareAppMessage({
			      title: _title,
			      desc: _desc,
			      link: _url,
			      imgUrl: _imgsrc,
			      success: function () { 
			          // 用户确认分享后执行的回调函数
			      },
			      cancel: function () { 
			          // 用户取消分享后执行的回调函数
			      }
			    });
			wx.onMenuShareTimeline({
			      title: _title,
			      desc: _desc,
			      link: _url,
				imgUrl : _imgsrc,
				success: function () { 
			        // 用户确认分享后执行的回调函数
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
			});
			wx.onMenuShareQQ({
			      title: _title,
			      desc: _desc,
			      link: _url,
				imgUrl : _imgsrc,
				success: function () { 
			        // 用户确认分享后执行的回调函数
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
			});

			wx.onMenuShareQZone({
			      title: _title,
			      desc: _desc,
			      link: _url,
				imgUrl : _imgsrc,
				success: function () { 
			        // 用户确认分享后执行的回调函数
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
			});

	});
	
	wx.error(function(res) {
		alert("网络繁忙，请稍后重试！");
	});
$(function(){
	var str = 1493136000;
	if (str >= Math.round(new Date() / 1000)) {
		$(".overBtn").html("已售罄，明天10点继续");
	} else{
	   $(".overBtn").html("已售馨");
	}
});
</script>
</html>
